import { UPDATE_ADMIN_STATUS } from "./mutations-types"

export default {
  setAdmin(context, admin) {
    return new Promise(() => {
      context.commit(UPDATE_ADMIN_STATUS, admin)
    })
  }
}